<?php

/**
 *
 * https://www.imooc.com/video/15167
 *
 *
 */
include  "Mysql_model.php";
$time = time ();



while (1){



$order_id = rand(1000,99999);

$insert_data = [
        'order_id' => $order_id,
        'mobile' => $time,
        'created_at' => date('Y-m-d H:i:s' , $time),
        'status' => 0,
];

extract($insert_data);

$my =  mysql::getIns();
  $my->query("insert into  order_queue (order_id,mobile,created_at,status) values ('$order_id','$mobile','$created_at','$status')");



}
